package models

import "gorm.io/gorm"

type Article struct {
	gorm.Model
	UserId  int    `gorm:"type:int;not null;comment:'用户Id'"`
	Title   string `gorm:"type:varchar(255);not null;comment:'标题'"`
	Intro   string `gorm:"type:varchar(255);not null;comment:'描述'"`
	FileUrl string `gorm:"type:varchar(255);not null;comment:'文件地址'"`
}
